.header-bar {
  padding-right: 0;
  padding-left: 0;
  margin: 0 auto;
}

.header-wrapper {
  //overflow: hidden;
}

.header-bar-top {
  width: 100%;
  background-color: @header-color;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.clearf {
  //清除浮动
  content: "";
  display: block;
  clear: both;
  height: 0; //高度为0
  line-height: 0; //行高为0
  visibility: hidden;
}

.header-bar::after {
  .clearf;
}

.bar-list {
  list-style: none;
  float: right;
  padding-left: 0;
  margin-bottom: 0 !important;
}

.bar-left {
  list-style: none;
  padding-left: 0;
  float: left;
  margin-bottom: 0 !important;
}

.bar-left li span {
  color: @header-font-color;
  line-height: 36px;
  font-size: 12px;
}

.bar-list li {
  float: left;
}

.bar-list a {
  display: inline-block;
  list-style: none;
  height: 36px;
  line-height: 36px;
  padding: 0 13px;
  border: 0px;
  font-size: 12px;
  background-color: transparent;
  color: white;
  &:hover,
  &.active {
    background-color: @main-color;
  }
}

.navbar-header {
  background-color: @main-color;
  width: 100%;
}

.navbar-header span {
  color: white;
}

.header-bar-white {
  //background-color: #f7f7f7;
  background-color: white;
  //height: 114px;
  position: relative;
  &__logo {
    padding: 20px 0;
    img {
      height: 74px;
    }
  }
  .header-dec {
    img {
      height: 114px;
      width: auto;
    }
  }
}

.header-menu .container {
  margin: 0 auto;
}

#nav-top {
  padding: 0;
}

#nav-top li {
  background: @main-color;
}

.header-menu .container::after {
  .clearf;
}

.header-menu ul {
  list-style: none;
  padding: 0;
}

.header-menu ul li {
  line-height: 64px;
  font-size: 14px;
  text-align: center;
}

.nav-list {
  width: 10%;
  padding: 0;
}

.header-menu ul li a:hover {
  background-color: transparent;
}

.header-menu ul li a {
  color: white;
  text-decoration: none;
  display: block;
  text-align: center;
  &.active {
    background-color: #6B1A28;
  }
}

@media (max-width: 768px) {
  .header-bar-white__logo {
    text-align: center;
  }

  .nav-scroll {
    overflow: scroll;
  }

  .doc-p {
    padding: 10px 0;
  }

  .nav-list {
    width: 100% !important;
    padding: 0;
  }

  .nav-list li {
    text-align: left !important;
    //margin-left: 6%;
  }

  .navbar-toggle.index-nav {
    line-height: 62px;
    padding: 0;
    margin:0 15px 0 0 ;
  }

  .dropdown-menu {
    background: @main-color;
    z-index: 999;
  }

  .dropdown-menu {
    top: 63px;
    left: -82px;
  }

  .index-nav-xs {
    float: left;
    width: 25%;
    padding: 0 -15px;
  }

  .dropdown-backdrop {
    display: none;
  }
}
